package com.raos.example.redisclient.client;

/**
 * redis 命令常数集
 *
 * @author raos
 * @emil 991207823@qq.com
 * @date 2021/7/22 21:01
 */
public class CommandConstant {

    /**
     * redis 参数个数标记
     */
    public static final String START = "*";

    /**
     * redis 属性长度标记
     */
    public static final String LENGTH = "$";

    /**
     * 换行符标记
     */
    public static final String LINE = "\r\n";

    /**
     * 请求方式枚举
     */
    public enum CommandEnum {
        SET,
        GET
    }

}
